package com.cn.service;

import java.util.List;

public interface OrderService {
	public String placeOrder()throws Exception;
	public List getAllOrders()throws Exception;
	public List getWaitTakeOrder()throws Exception;
	public List getWaitConfirmOrder()throws Exception;
	public List getWaitRemarkOrder()throws Exception;
	public List getCompletedOrder()throws Exception;
	public List orderDetail()throws Exception;
	public String remarkOrder()throws Exception;

	public Boolean acceptOrder(int order_id);
	public Boolean rejectOrder(int order_id);

	public String confirmOrder()throws Exception;
	public void autoCancel();
	public String placeSecondKillOrder() throws Exception;
}
